libxl: split libxl_domain_shutdown into libxl_domain_shutdown,..._reboot
authorIan Campbell <ian.campbell@citrix.com>
Wed, 21 Dec 2011 10:47:11 +0000 (10:47 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 21 Dec 2011 10:47:11 +0000 (10:47 +0000)
commit79e162885078a9daaaf9679d547aaa65c78e3559
tree48ad30dd5f08cf7956cf756f566dbeabb6ac1913
parent1a061168bd1ded7ba5623100f1890288fc8e6afc
libxl: split libxl_domain_shutdown into libxl_domain_shutdown,..._reboot

The other integer request types which shutdown supported are not
useful. Specifically:

 * "suspend" is not usable via this interface since it requires other
   scaffolding, libxl_domain_suspend provides this already.
 * "halt" is the same as "poweroff".
 * "crash" is unused and at least Linux does not implement it. If a user
   steps forward then libxl_domain_crash is trivial to add.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Acked-by: Ian Jackson <ian.jackson.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/xl_cmdimpl.c
tools/python/xen/lowlevel/xl/xl.c